projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3030d3
)
checkbutton: Don't leak the action helper
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 1 Sep 2020 19:24:34 +0000
(15:24 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 1 Sep 2020 19:24:34 +0000
(15:24 -0400)
gtk/gtkcheckbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcheckbutton.c
b/gtk/gtkcheckbutton.c
index 13aa7fb6cd1c2457aa67284c6380601976276df7..d7ba59c63ed556a8989bcb665b0e56cc79741c6a 100644
(file)
--- a/
gtk/gtkcheckbutton.c
+++ b/
gtk/gtkcheckbutton.c
@@
-111,6
+111,8
@@
gtk_check_button_dispose (GObject *object)
{
GtkCheckButtonPrivate *priv = gtk_check_button_get_instance_private (GTK_CHECK_BUTTON (object));
+ g_clear_object (&priv->action_helper);
+
g_clear_pointer (&priv->indicator_widget, gtk_widget_unparent);
g_clear_pointer (&priv->label_widget, gtk_widget_unparent);